Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add dev env #8

Merged
merged 60 commits into from
Jan 29, 2025
Merged

Add dev env #8

merged 60 commits into from
Jan 29, 2025

Conversation

RonanMorgan
Copy link
Collaborator

@RonanMorgan RonanMorgan commented Apr 24, 2024

A beautiful dev env which launch a Reoling dev camera and test if an alert has been generated by the engine

PS : I felt in a git hell by trying to remove all .env file in the history so I had to create a new PR

@RonanMorgan RonanMorgan self-assigned this Apr 24, 2024
@RonanMorgan RonanMorgan marked this pull request as draft April 24, 2024 15:15
@RonanMorgan
Copy link
Collaborator Author

TODO :
=> understand the use case of the media API in order to mimic it in the python test media.py
=> create a centralised server in order to accept the loki call (whitelist some ip in the server itself ? how can we know the ip adress of gitAction servers)

@RonanMorgan
Copy link
Collaborator Author

understand and fix this error :

WARNING:  Could not connect to the endpoint URL: "http://s3.localhost.localstack.cloud:4566/sample-bucket/20240424153150-a7a225e9.jpg"
INFO:     172.18.0.8:45570 - "POST /media/1/upload HTTP/1.1" 500 Internal Server Error
  • we don't see anymore the lines after the grep :
    docker-compose logs --tail=20 | grep -i -E "error|exception" | grep -v -i "hypercorn.error"

Copy link
Member

@MateoLostanlen MateoLostanlen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks a lot for this PR, it wiil be really helfull for all Pyronear volonteers !

https://docs.docker.com/engine/swarm/swarm-tutorial/create-swarm/
Start the Docker services using the following command:
```
make build
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please make this on two lines or add a && I don't know why but it's display one line

@MateoLostanlen MateoLostanlen merged commit a61c83d into main Jan 29, 2025
2 checks passed
@RonanMorgan RonanMorgan deleted the rs/add-dev-env branch January 29, 2025 16:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants